package com.quyu.mapper;

import com.quyu.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;


public interface UserMapper extends BaseMapper<User> {
    @Update("update tb_user set password = #{newPwd} where id = #{userId}")
    void updatePwd(Long userId, String newPwd);
}
